<?php 
$data = $this->lsadm;
//print_r($data);die;
$err = $this->err;
?>
<h1>Edit the admin's information</h1>
<form name="frmEditAdm" method="post" enctype="multipart/form-data">
	<input type="hidden" name="act" value="0" />
	<div class="err"><?php echo $err;?></div>
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td>User name: </td>
			<td><input type="text" name="txtUsrName" value="<?php echo $data['adm_usrname'];?>" /></td>
		</tr>
		<tr>
			<td>Password: </td>
			<td><input type="password" name="txtUsrPwd" value="<?php echo $data['adm_usrpwd'];?>" /></td>
		</tr>
		<tr>
			<td>Full name: </td>
			<td><input type="text" name="txtFullName" value="<?php echo $data['adm_fullname'];?>" /></td>
		</tr>
		<tr>
			<td>Email: </td>
			<td><input type="text" name="txtEmail" value="<?php echo $data['adm_email'];?>" /></td>
		</tr>
	</table>
	<div class="save-reset"><input type="submit" value="SAVE" onclick="onAddAdm();" />&nbsp;<input type="submit" value="Reset" /></div>
</form>